﻿config = {
    "isDebug": "1",
    "apiServerLoc": "http://localhost:13772",
    "apiServer": "https://www.jsonfree.com/mgxapi"
}

function apiServer() {
    var server = "";
    if (config.isDebug == "1") {
        server = config.apiServerLoc;
    }
    else {
        server = config.apiServer;
    }
    return server;
}